Ignore extra fields on read, per Ozi developer.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 12 Oct 2002 03:38:21 +0000 (03:38 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 12 Oct 2002 03:38:21 +0000 (03:38 +0000)
gpsbabel/ozi.c

index 91e804f8d7d5402ae94eaecea46f5018910b3f52..0f6ec4612241b3677dd0198caf6db0bb2dd0686b 100644 (file)
@@ -159,19 +159,10 @@ data_read(void)
                    break;
                    /* 
                     * Fields 18-23 were added around version 3.90.4g of
-                    * Ozi, but aren't documented.   We ignore them.
+                    * Ozi, but aren't documented.   We silently ignore 
+                    * these or any additional fields we don't need.
                     */
-               case 18:
-               case 19:
-               case 20:
-               case 21:
-               case 22:
-               case 23:
-                   break;
                default:
-                   /* whoa! nelly */
-                   fprintf (stderr, "%s: Warning: data fields on line %d exceed specification.\n", 
-                       MYNAME, linecount);
                    break;
                }
                i++;